package com.atguigu.stgy.app.service.impl;

import com.atguigu.stgy.app.service.RoomFacilityService;
import com.atguigu.stgy.model.entity.FacilityInfo;
import com.atguigu.stgy.model.entity.RoomFacility;
import org.springframework.stereotype.Service;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.atguigu.stgy.app.mapper.RoomFacilityMapper;

import java.util.List;
//import com.atguigu.stgy.model.entity.RoomFacility;

@Service
public class RoomFacilityServiceImpl extends ServiceImpl<RoomFacilityMapper, RoomFacility> implements RoomFacilityService {

    @Override
    public List<FacilityInfo> selectListByRoomId(Long roomId) {

        return baseMapper.selectListByRoomId(roomId);
    }
}
